/*
 * @Author: Janssen000908 2601566046@qq.com
 * @Date: 2025-04-18 11:51:41
 * @LastEditors: Janssen000908 2601566046@qq.com
 * @LastEditTime: 2025-04-18 12:02:08
 * @FilePath: /learn36/test.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include <unistd.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>

using namespace std;
int main()
{
    // int fd = open("demo.txt",O_WRONLY |O_CREAT,0666);
    // cout << fd << endl;
    // char buffer[1024];
    // read(0, buffer, sizeof(4));
    // printf("echo: %s\n", buffer);
    cout << stdin->_fileno << endl;
    return 0;
}